

#undef _WIN32
#define __CC_ARM
#define __CC_VISUAL_STUDIO
#define __ARMCC_VERSION 430000

#define __NO_EMBEDDED_ASM
#define __rev(v)v 
#define __STATIC_INLINE 


typedef char* __builtin_va_list, * __gnuc_va_list;
typedef char* va_list;

#define __va_start(...)
#define __va_end(...)
#define __va_arg(_v, _t) *(_t *)(void *)_v
#define __builtin_va_start(...)
#define __builtin_va_end(...)
#define __builtin_va_copy(...)
#define __builtin_vsnprintf(...)
#define __builtin_va_arg(_v, _t) *(_t *)(void *)_v
#define __builtin_bswap32(_t) (uint32_t)_t;

#define __STDC_LIMIT_MACROS
#define __STDC_CONSTANT_MACROS
#define __STDARG_NO_EXPORTS

////typedef char *va_list;
//#define __va_start(...)
//#define __va_end(...)
//#define __va_arg(_v, _t) *(_t *)(void *)_v

typedef char *__builtin_va_list, *__gnuc_va_list;

#define asm(...)
#define __asm__(...)
#define __asm 
#define __ASM(...) 
#define __asm(...)
#define __nonnull(...)
#define __attribute__(...)
#define section(...)
#define __extension__
#define __inline__ inline
#define __signed__ signed
#define __restrict__
#define __gthrw(...)

#define __const const
#define __volatile volatile
#define __THROW

#define __cdecl

#define __typeof decltype
#define __builtin_va_start(...)
#define __builtin_va_end(...)
#define __builtin_vsnprintf(...)
#define __null 0

#define __builtin_va_arg(_v, _t) *(_t *)(void *)_v
#define __builtin_bswap32(_t) (uint32_t)_t;

#if !defined(__cplusplus) && _MSC_VER >= 1900
#define inline __inline
#endif

#if defined(__cplusplus) && !defined(namespace)
namespace std
{
	typedef int nullptr_t;
}
#endif

#define _UPPER          0x1     // Upper case letter
#define _LOWER          0x2     // Lower case letter
#define _DIGIT          0x4     // Digit[0-9]
#define _SPACE          0x8     // Tab, carriage return, newline, vertical tab or form feed
#define _PUNCT          0x10    // Punctuation character
#define _CONTROL        0x20    // Control character
#define _BLANK          0x40    // Space char
#define _HEX            0x80    // Hexadecimal digit

#include "armcc_intr.h"
